﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="kartrisLoginData" targetNamespace="http://tempuri.org/kartrisLoginData.xsd" xmlns:mstns="http://tempuri.org/kartrisLoginData.xsd" xmlns="http://tempuri.org/kartrisLoginData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="KartrisSQLConnection" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="KartrisSQLConnection (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.KartrisSQLConnection.ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="kartrisSQLConnection" IsAppSettingsProperty="true" Modifier="Assembly" Name="kartrisSQLConnection (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Kartris.My.MySettings.GlobalReference.Default.kartrisSQLConnection" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LoginsTblAdptr" GeneratorDataComponentClassName="LoginsTblAdptr" Name="Logins" UserDataComponentName="LoginsTblAdptr">
            <MainSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="kartrisSQL_GPL.dbo.[_spKartrisLogins_GetDetails]" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisLogins_GetDetails]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Username" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="LOGIN_ID" DataSetColumn="LOGIN_ID" />
              <Mapping SourceColumn="LOGIN_Username" DataSetColumn="LOGIN_Username" />
              <Mapping SourceColumn="LOGIN_Password" DataSetColumn="LOGIN_Password" />
              <Mapping SourceColumn="LOGIN_Live" DataSetColumn="LOGIN_Live" />
              <Mapping SourceColumn="LOGIN_Orders" DataSetColumn="LOGIN_Orders" />
              <Mapping SourceColumn="LOGIN_Products" DataSetColumn="LOGIN_Products" />
              <Mapping SourceColumn="LOGIN_Config" DataSetColumn="LOGIN_Config" />
              <Mapping SourceColumn="LOGIN_Protected" DataSetColumn="LOGIN_Protected" />
              <Mapping SourceColumn="LOGIN_LanguageID" DataSetColumn="LOGIN_LanguageID" />
              <Mapping SourceColumn="LOGIN_EmailAddress" DataSetColumn="LOGIN_EmailAddress" />
              <Mapping SourceColumn="LOGIN_Tickets" DataSetColumn="LOGIN_Tickets" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="kartrisSQL_GPL.dbo.[_spKartrisLogins_GetIDbyName]" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="_GetIDbyName" Modifier="Public" Name="_GetIDbyName" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="_GetIDbyName">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisLogins_GetIDbyName]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Username" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="kartrisSQL_GPL.dbo.[_spKartrisLogins_GetList]" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="_GetList" GetMethodModifier="Public" GetMethodName="_GetList" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="_GetList" UserSourceName="_GetList">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisLogins_GetList]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="kartrisSQL_GPL.dbo.[_spKartrisLogins_GetSaltByUserName]" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="_GetSaltByUserName" Modifier="Public" Name="_GetSaltByUserName" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="_GetSaltByUserName">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisLogins_GetSaltByUserName]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Username" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="kartrisSQL_GPL.dbo.[_spKartrisLogins_GetSupportTicketsList]" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="_GetSupportTicketsUsers" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="_GetSupportTicketsUsers" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="_GetSupportTicketsUsers" UserSourceName="_GetSupportTicketsUsers">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisLogins_GetSupportTicketsList]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="kartrisSQL_GPL.dbo.[_spKartrisLogins_Validate]" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="_Validate" Modifier="Public" Name="_Validate" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="_Validate">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisLogins_Validate]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="kartrisSQL_GPL.dbo.spKartrisLogins_GetSupportTicketsList" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetSupportTicketsUsers" GetMethodModifier="Public" GetMethodName="GetSupportTicketsUsers" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSupportTicketsUsers" UserSourceName="GetSupportTicketsUsers">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spKartrisLogins_GetSupportTicketsList</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="kartrisLoginData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="kartrisLoginData" msprop:Generator_UserDSName="kartrisLoginData">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Logins" msprop:Generator_UserTableName="Logins" msprop:Generator_RowEvArgName="LoginsRowChangeEvent" msprop:Generator_TableVarName="tableLogins" msprop:Generator_TablePropName="Logins" msprop:Generator_RowDeletingName="LoginsRowDeleting" msprop:Generator_RowChangingName="LoginsRowChanging" msprop:Generator_RowDeletedName="LoginsRowDeleted" msprop:Generator_RowEvHandlerName="LoginsRowChangeEventHandler" msprop:Generator_TableClassName="LoginsDataTable" msprop:Generator_RowChangedName="LoginsRowChanged" msprop:Generator_RowClassName="LoginsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LOGIN_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnLOGIN_ID" msprop:Generator_ColumnPropNameInRow="LOGIN_ID" msprop:Generator_ColumnPropNameInTable="LOGIN_IDColumn" msprop:Generator_UserColumnName="LOGIN_ID" type="xs:short" />
              <xs:element name="LOGIN_Username" msprop:Generator_ColumnVarNameInTable="columnLOGIN_Username" msprop:Generator_ColumnPropNameInRow="LOGIN_Username" msprop:Generator_ColumnPropNameInTable="LOGIN_UsernameColumn" msprop:Generator_UserColumnName="LOGIN_Username" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LOGIN_Password" msprop:Generator_ColumnVarNameInTable="columnLOGIN_Password" msprop:Generator_ColumnPropNameInRow="LOGIN_Password" msprop:Generator_ColumnPropNameInTable="LOGIN_PasswordColumn" msprop:Generator_UserColumnName="LOGIN_Password" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LOGIN_Live" msprop:Generator_ColumnVarNameInTable="columnLOGIN_Live" msprop:Generator_ColumnPropNameInRow="LOGIN_Live" msprop:Generator_ColumnPropNameInTable="LOGIN_LiveColumn" msprop:Generator_UserColumnName="LOGIN_Live" type="xs:boolean" minOccurs="0" />
              <xs:element name="LOGIN_Orders" msprop:Generator_ColumnVarNameInTable="columnLOGIN_Orders" msprop:Generator_ColumnPropNameInRow="LOGIN_Orders" msprop:Generator_ColumnPropNameInTable="LOGIN_OrdersColumn" msprop:Generator_UserColumnName="LOGIN_Orders" type="xs:boolean" minOccurs="0" />
              <xs:element name="LOGIN_Products" msprop:Generator_ColumnVarNameInTable="columnLOGIN_Products" msprop:Generator_ColumnPropNameInRow="LOGIN_Products" msprop:Generator_ColumnPropNameInTable="LOGIN_ProductsColumn" msprop:Generator_UserColumnName="LOGIN_Products" type="xs:boolean" minOccurs="0" />
              <xs:element name="LOGIN_Config" msprop:Generator_ColumnVarNameInTable="columnLOGIN_Config" msprop:Generator_ColumnPropNameInRow="LOGIN_Config" msprop:Generator_ColumnPropNameInTable="LOGIN_ConfigColumn" msprop:Generator_UserColumnName="LOGIN_Config" type="xs:boolean" minOccurs="0" />
              <xs:element name="LOGIN_Protected" msprop:Generator_ColumnVarNameInTable="columnLOGIN_Protected" msprop:Generator_ColumnPropNameInRow="LOGIN_Protected" msprop:Generator_ColumnPropNameInTable="LOGIN_ProtectedColumn" msprop:Generator_UserColumnName="LOGIN_Protected" type="xs:boolean" minOccurs="0" />
              <xs:element name="LOGIN_LanguageID" msprop:Generator_ColumnVarNameInTable="columnLOGIN_LanguageID" msprop:Generator_ColumnPropNameInRow="LOGIN_LanguageID" msprop:Generator_ColumnPropNameInTable="LOGIN_LanguageIDColumn" msprop:Generator_UserColumnName="LOGIN_LanguageID" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="LOGIN_EmailAddress" msprop:Generator_ColumnVarNameInTable="columnLOGIN_EmailAddress" msprop:Generator_ColumnPropNameInRow="LOGIN_EmailAddress" msprop:Generator_ColumnPropNameInTable="LOGIN_EmailAddressColumn" msprop:Generator_UserColumnName="LOGIN_EmailAddress" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LOGIN_Tickets" msprop:Generator_ColumnVarNameInTable="columnLOGIN_Tickets" msprop:Generator_ColumnPropNameInRow="LOGIN_Tickets" msprop:Generator_ColumnPropNameInTable="LOGIN_TicketsColumn" msprop:Generator_UserColumnName="LOGIN_Tickets" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Logins" />
      <xs:field xpath="mstns:LOGIN_ID" />
    </xs:unique>
  </xs:element>
</xs:schema>